' Stephen Toub


Imports Microsoft.VisualBasic
Imports System
Imports System.Runtime.InteropServices

Namespace C4F.DevKit.PreviewHandler.PreviewHandlerFramework
    <ComImport(), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("8895b1c6-b41f-4c1c-a562-0d564250836f")> _
    Public Interface IPreviewHandler
        Sub SetWindow(ByVal hwnd As IntPtr, ByRef rect As RECT)
        Sub SetRect(ByRef rect As RECT)
        Sub DoPreview()
        Sub Unload()
        Sub SetFocus()
        Sub QueryFocus(<System.Runtime.InteropServices.Out()> ByRef phwnd As IntPtr)
        <PreserveSig()> _
        Function TranslateAccelerator(ByRef pmsg As MSG) As UInteger
    End Interface
End Namespace